/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.mine.contract;

import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.liebang.entity.bo.OrganizationBo;

import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:06
 */
public interface EnterpriseContract {

    interface Model {

        Observable<OrganizationBo> getorganizationCardData();

        Observable<String> organizationCertification(
                String organizationName,
                String organizationFullName,
                String contactName,
                String contactPosition,
                String contactMobile,
                String contactEmail,
                String contactCity,
                String contactAddress,
                String businessLicense
        );


    }

    interface View extends BaseView {

        void showAuthSuccess();

        void showOrganizationInfoSuccess(OrganizationBo organizationBo);

        void showError(String error);

    }


    interface Presenter extends BasePresenter {

        void getorganizationCardData();

        void organizationCertification(
                String organizationName,
                String organizationFullName,
                String contactName,
                String contactPosition,
                String contactMobile,
                String contactEmail,
                String contactCity,
                String contactAddress,
                String businessLicense
        );
    }
}
